package cn.luckdou.system.service.impl.sys_config;

import cn.luckdou.system.mapper.sys_config.SysConfigMapper;
import cn.luckdou.system.model.sys_config.SysConfig;
import cn.luckdou.system.service.sys_config.ISysConfigService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 系统配置 服务实现类
 * </p>
 *
 * @author Dadou
 * @since 2017-08-10
 */
@Service
public class SysConfigServiceImpl extends ServiceImpl<cn.luckdou.system.mapper.sys_config.SysConfigMapper, SysConfig> implements ISysConfigService {

    @Autowired
    private SysConfigMapper SysConfigMapper;

    public String getValue(String key){
        return SysConfigMapper.getValue(key);
    }

}
